//
//  airDetail.m
//  Sky
//
//  Created by chenheren on 16/7/26.
//  Copyright © 2016年 chen. All rights reserved.
//

#import "AirDetail.h"

@implementation AirDetail

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.label = [[UILabel alloc]initWithFrame:self.contentView.frame];
        self.label.textColor = [UIColor colorWithRed:37/255.0f green:175/255.0f blue:148/255.0f alpha:1.0f];
        self.label.textAlignment = NSTextAlignmentLeft;
        self.label.backgroundColor = [UIColor whiteColor];
        self.label.numberOfLines = 0;
        self.label.lineBreakMode = NSLineBreakByCharWrapping;
        [self.contentView addSubview:self.label];
        
    }
    return self;
}
@end
